package cn.gov.ssxmzj.entry;

/**
 * 新闻实体
 *
 * @author  wangmc
 * @time 2018-04-05
 */
public class News {
    /**
     * 新闻id
     */
    private String news_id;
    /**
     * 新闻标题
     */
    private String news_title;
    /**
     * 新闻内容
     */
    private String news_content;
    /**
     * 创建时间
     */
    private String create_time;
    /**
     * 创建人
     */
    private String create_user;
    /**
     * 最后修改时间
     */
    private String last_change_time;
    /**
     * 最后修改人
     */
    private String last_change_user;
    /**
     * 新闻类型:1-最新动态;2-民政要闻;3-公示公告;4-政策法规;5-轮播图;6-信息公开指南;7-领导机构
     */
    private String news_type;
    /**
     * 新闻名称(仅轮播图含有)
     */
    private String news_name;
    /**
     * 新闻图片路径(仅轮播图含有)
     */
    private String news_pic_src;
    /**
     * 数据是否有效:1-有效,0-无效
     */
    private String valid_tag;
    /**
     * 备用字段1
     */
    private String para1;
    /**
     * 备用字段1
     */
    private String para2;

    public News(){

    }

    public News(String news_id, String news_title, String news_content, String create_time, String create_user,
                String last_change_time, String last_change_user, String news_type, String news_name,
                String news_pic_src, String valid_tag, String para1, String para2) {
        this.news_id = news_id;
        this.news_title = news_title;
        this.news_content = news_content;
        this.create_time = create_time;
        this.create_user = create_user;
        this.last_change_time = last_change_time;
        this.last_change_user = last_change_user;
        this.news_type = news_type;
        this.news_name = news_name;
        this.news_pic_src = news_pic_src;
        this.valid_tag = valid_tag;
        this.para1 = para1;
        this.para2 = para2;
    }

    public String getNews_id() {
        return news_id;
    }

    public void setNews_id(String news_id) {
        this.news_id = news_id;
    }

    public String getNews_title() {
        return news_title;
    }

    public void setNews_title(String news_title) {
        this.news_title = news_title;
    }

    public String getNews_content() {
        return news_content;
    }

    public void setNews_content(String news_content) {
        this.news_content = news_content;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getCreate_user() {
        return create_user;
    }

    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }

    public String getLast_change_time() {
        return last_change_time;
    }

    public void setLast_change_time(String last_change_time) {
        this.last_change_time = last_change_time;
    }

    public String getLast_change_user() {
        return last_change_user;
    }

    public void setLast_change_user(String last_change_user) {
        this.last_change_user = last_change_user;
    }

    public String getNews_type() {
        return news_type;
    }

    public void setNews_type(String news_type) {
        this.news_type = news_type;
    }

    public String getNews_name() {
        return news_name;
    }

    public void setNews_name(String news_name) {
        this.news_name = news_name;
    }

    public String getNews_pic_src() {
        return news_pic_src;
    }

    public void setNews_pic_src(String news_pic_src) {
        this.news_pic_src = news_pic_src;
    }

    public String getValid_tag() {
        return valid_tag;
    }

    public void setValid_tag(String valid_tag) {
        this.valid_tag = valid_tag;
    }

    public String getPara1() {
        return para1;
    }

    public void setPara1(String para1) {
        this.para1 = para1;
    }

    public String getPara2() {
        return para2;
    }

    public void setPara2(String para2) {
        this.para2 = para2;
    }

    @Override
    public String toString() {
        return "News{" +
                "news_id='" + news_id + '\'' +
                ", news_title='" + news_title + '\'' +
                ", news_content='" + news_content + '\'' +
                ", create_time='" + create_time + '\'' +
                ", create_user='" + create_user + '\'' +
                ", last_change_time='" + last_change_time + '\'' +
                ", last_change_user='" + last_change_user + '\'' +
                ", news_type='" + news_type + '\'' +
                ", news_name='" + news_name + '\'' +
                ", news_pic_src='" + news_pic_src + '\'' +
                ", valid_tag='" + valid_tag + '\'' +
                ", para1='" + para1 + '\'' +
                ", para2='" + para2 + '\'' +
                '}';
    }
}
